<template>
  <view v-if="shenheStatus == 0" class="exchange-success">
    <view class="message">
      <text
        class="iconfont icon-success-fill"
        style="
          display: block;
          font-size: 130rpx;
          color: #f0250e;
          margin-top: 30rpx;
        "
      ></text>
      <view>{{ $t('integral.success') }}</view>
      <view>{{ $t('user.exchange') }}</view>
    </view>
    <view class="bt">{{ $t('user.view') }}</view>
  </view>
  <Shenhe v-else-if="shenheStatus == 1"></Shenhe>
</template>

<script>
import Shenhe from '@/components/shenhe/shenhe';
export default { components: { Shenhe } };
</script>

<style lang="scss" scoped>
.exchange-success {
  min-height: 100vh;
  background: #f2f2f2;
  .message {
    height: 380rpx;
    text-align: center;
    background: #fff;
    > view:nth-child(2) {
      margin-top: 32rpx;
      line-height: 56rpx;
      height: 56rpx;
      font-size: 40rpx;
      font-weight: bold;
    }
    > view:nth-child(3) {
      margin-top: 20rpx;
      line-height: 42rpx;
      font-size: 30rpx;
      color: #8c8c8c;
    }
  }
  .bt {
    margin: 80rpx auto 0;
    width: 678rpx;
    height: 88rpx;
    line-height: 88rpx;
    text-align: center;
    background: #f0250e;
    border-radius: 120rpx;

    font-size: 32rpx;
    font-weight: 500;
    color: #ffffff;
  }
}
</style>
